﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UC_Dagiaohang.ascx.cs" Inherits="Manager_Dondathang_Controls_UC_Dagiaohang" %>
<div id="TitleRight">
    <div id="Breadcrumb">
        <ul>
            <li><a href="../Trangchu/">Manager</a></li>
            <li><a href="Dondathang.aspx">Đơn đặt hàng</a> </li>
            <li>Đơn đặt hàng đã giao hàng</li>
        </ul>
    </div>
</div>
<div class="nav_tabs">
    <ul>
        <li>
            <div class="Unselected">
                <a href="Dondathang.aspx?action=chuaxuly">Đơn đặt hàng chưa xử lý</a></div>
        </li>
        <li>
            <div class="Unselected">
                <a href="Dondathang.aspx?action=chogiaohang">Đơn đặt hàng chờ giao hàng</a></div>
        </li>
        <li>
            <div class="Selected">
                <a href="Dondathang.aspx?action=dagiaohang">Đơn đặt hàng đã giao hàng</a></div>
        </li>
    </ul>
</div>
<div class="Clear">
    <br />
</div>
<div class="description">
    <p>
        Thông tin đơn đặt hàng đã giao hàng.</p>
</div>
<div class="Content1Right-main">
    <asp:GridView ID="gvDdhChuaxuly" runat="server" AutoGenerateColumns="False" CellPadding="4"
        ForeColor="#333333">
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
            <asp:TemplateField HeaderText="Số đơn đặt hàng">
                <ItemTemplate>
                    <asp:Label ID="lblSodondathang" runat="server" Text='<%#Eval("Id") %>'></asp:Label>
                </ItemTemplate>
                <ControlStyle Width="130px" />
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Khách hàng">
                <ItemTemplate>
                    <asp:Label ID="lblKhachhang" runat="server" Text='<%#KhachHang(Eval("Cus_Id").ToString()) %>'></asp:Label>
                </ItemTemplate>
                <ControlStyle Width="150px" />
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Ngày lập">
                <ItemTemplate>
                    <asp:Label ID="lblNgaylap" runat="server" Text='<%#Eval("Date") %>'></asp:Label>
                </ItemTemplate>
                <ControlStyle Width="200px" />
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Phương thức thanh toán">
                <ItemTemplate>
                    <asp:Label ID="lblPhuongthuc" runat="server" Text='<%#Phuongthuc(Eval("PayMethod").ToString()) %>'></asp:Label>
                </ItemTemplate>
                <ControlStyle Width="188px" />
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Chi tiết">
                <ItemTemplate>
                    <a href='Chitietdondathang.aspx?id=<%#Eval("Id") %>'>Chi tiết</a>
                </ItemTemplate>
                <ControlStyle Width="65px" />
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:TemplateField>
        </Columns>
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#0263A1" BorderColor="Black" BorderStyle="Double" BorderWidth="1px"
            Font-Bold="True" Font-Size="Medium" ForeColor="White" Height="40px" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#E9E7E2" />
        <SortedAscendingHeaderStyle BackColor="#506C8C" />
        <SortedDescendingCellStyle BackColor="#FFFDF8" />
        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
    </asp:GridView>
</div>


